package model;

import java.util.ArrayList;
import java.util.List;

public class ClassB {

	private List<ClassC> classesC;
	private String property;

	public ClassB(String pro) {
		this.classesC = new ArrayList<ClassC>();
		this.property = pro;
	}

	public List<ClassC> getClassesC() {
		return classesC;
	}

	public void setClassesC(List<ClassC> classesC) {
		this.classesC = classesC;
	}

	public void addClassC(ClassC c) {
		classesC.add(c);
	}

	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

}
